<html xmlns="http://www.w3.org/1999/xhtml" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity3">
    <body>
            <div th:if="${errorMsg}">
            <h1 th:text="${errorMsg}"> </h1>
            </div>
        <form th:action="@{/user/add-user}" method="post">
        <div><label> User Name : <input type="text" name="username"/> </label></div>
        <div><label> email: <input type="text" name="email"/> </label></div>
        <div><label> Password: <input type="password" name="password"/> </label></div>
        <div><label> Password confirm: <input type="password" name="password1"/> </label></div>
        <input type="submit" value="Register"/>
        </form>
    </body>
</html>